﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GxcToCsharpParser.GrcParser
{
   /// <summary>
   /// Implementing EDIT,,, width,{&}label,{required},{validation},{default_value} 
   /// </summary>
   class EditWidget:IWidget
   {
      /// <summary>
      /// Defines the width of an edit field in characters.       
      /// The maximum width will depend on your system display limitations.       
      /// It is a good idea to make all edit fields in a GX the same width because this 
      /// improves the appearance of the dialog.
      /// </summary>
      public int Width { get; set; }
      public string Label { get; set; }
      public string Requried { get; set; }
      public string Validation { get; set; }
      public string DefaultValue { get; set; }
      /// <summary>
      /// Gets or sets the parameter.
      /// </summary>
      /// <value>The parameter.</value>
      public string Parameter { get; set; }

   }
}
